package com.ruoyi.web.controller.shopweb;


import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.utils.SecurityUtils;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestsController extends BaseController {

    @RequestMapping("/list")
    @PreAuthorize("@ss.hasPermi('system:menu:list')")
    public String test() {
        System.out.println("test......");
        return "test";
    }


    @RequestMapping("/list2")
    @PreAuthorize("@ss.hasPermi('system:menu:list')")
    public String test2() {
        System.out.println("test......");
        return "test222";
    }
}
